package com.example.chat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.chat.pojo.bo.Message;
import com.example.chat.pojo.vo.MessageVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MessageMapper extends BaseMapper<Message> {
    List<MessageVO> getChatMsgList(Message message);

    MessageVO getChatMsgById(Message message);
}
